package cn.cjlmonster.demo02.api;

import cn.cjlmonster.demo02.api.callback.LGArrayCallback;
import cn.cjlmonster.demo02.api.result.SnapshotEntity;

/**
 * This project is Demo02
 * Created by cjl on 2021/11/24 12:10 上午.
 */

public class Api {

    public static void getSnapshotOfFHS(LGArrayCallback<SnapshotEntity> callback) {
        Request.newBuilder()
                .setPath("snapshot/proxy.do")
                .addParam("productId", "160042bb72a003e9160042bb72a03201")
                .addParam("deviceId", 628461423)
                .addParam("indexs", new int[] {30})
                .addParam("rouleId", "5e940463d8af2f42e24a9d9a")
                .addParam("unit", "day")
                .addParam("range", 15)
                .addParam("mark1", "maxDiffer")
                .addParam("mark2", 0)
                .addParam("mark3", false)
                .addParam("desc", true)
                .execute(callback);
    }
}
